<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>团购商城_我的团</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <script src="${pageContext.request.contextPath}/resources/js/jquery.min.js"></script>
    <link rel=" stylesheet" href="${pageContext.request.contextPath}/resources/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/title.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/goods_info.css">
</head>
<body>
<header>
    <h1 class='title'>
        <a href="javascript:history.go(-1)" style="font-size: 1.9em;"   target="_self" class="fa fa-angle-left "></a>
        团购商城</h1>
</header>
<div class="centerul">
    <ul>

        <li>
            <img src="${pageContext.request.contextPath}/resources/images/${group.imgAddress}">

            <div>
                <h2>${group.groupTitle}</h2>

                团购:
                <button>￥${group.price}</button>

                <button style="color:#373737;font-size: 0.8rem">单人:￥${group.priceOriginal}</button><br />
                团购人数:
                <button>${group.nowUserNumber}/${group.groupTargetNumber}</button>
                <span><c:if test="${not empty meg}">${meg}</c:if>
                <c:if test="${empty meg}">未加团</c:if></span>
            </div>


            <p>
                ${group.groupDetail}</p>

        </li>

    </ul>


</div>

<ul class="footer">
    <a href="${pageContext.request.contextPath}/login-user/index" target="_self">
        <li><span class="fa fa-home "></span><br>

            <p>首页</p></li>
    </a>
    <a href="${pageContext.request.contextPath}/login-user/turn-add" target="_self">
        <li><span class="fa fa-user-circle-o "></span><br>
            <p>我要开团</p></li>
    </a>

    <a href="${pageContext.request.contextPath}/login-user/group-join?groupId=${group.groupId}" target="_self">
        <li  class="footerselect"><span class="fa fa-cart-plus "></span><br>
            <p>加入团</p>
        </li>
    </a>
</ul>
</body>
<script src="${pageContext.request.contextPath}/resources/js/footer.js"></script>
<script src="${pageContext.request.contextPath}/resources/js/public.js"></script>
</html>